window.googletag&&typeof googletag._gpt_js_load_2_=='function'&&googletag._gpt_js_load_2_(function(_,_m){var Uja=function(a){var b=_.ec;if(!(0,_.LD)(a)){var c,d;b=(d=(c=typeof b==="function"?b():b)==null?void 0:c.concat("\n"))!=null?d:"";throw Error(b+String(a));}return a},Vja=function(a){a.preventDefault?a.preventDefault():a.returnValue=!1},R1=function(a){if(!Wja.test(a))return null;a=Number(a);return isNaN(a)?null:a},S1=function(a,b,c,d){d=d===void 0?null:d;var e=function(g){try{var h=JSON.parse(g.data)}catch(k){return}!h||h.googMsgType!==b||d&&/[:|%3A]javascript\(/i.test(g.data)&&!d(h,g)||c(h,g)};_.Og(a,"message",e);var f=!1;return function(){var g=!1;f||(f=!0,g=_.Pg(a,"message",e));return g}},T1=function(a,b,c,d){c.googMsgType=b;a.postMessage(JSON.stringify(c),d)},U1=function(a,b,c,d,e){if(!(e<=0)&&(T1(a,b,c,d),a=a.frames))for(var f=0;f1&&U1(a[f],b,c,d,--e)},Xja=function(a,b){return a&&a.source?a.source===b||a.source.parent===b:!1},W1=function(a){var b={bottom:"auto",clear:"none",display:"inline","float":"none",height:"auto",left:"auto",margin:0,"margin-bottom":0,"margin-left":0,"margin-right":"0","margin-top":0,"max-height":"none","max-width":"none",opacity:1,overflow:"visible",padding:0,"padding-bottom":0,"padding-left":0,"padding-right":0,"padding-top":0,position:"static",right:"auto",top:"auto","vertical-align":"baseline",visibility:"visible",width:"auto","z-index":"auto"};_.oD(_.u(Object,"keys").call(Object,b),function(c){var d=a.style[_.sD(c)];(typeof d!=="undefined"?d:a.style[_.UF(a,c)])||_.lm(a,c,b[c])});V1(a)},X1=function(a){var b=a.screen.height===812&&a.screen.width===375||a.screen.width===812&&a.screen.height===375||a.screen.width===414&&a.screen.height===896||a.screen.width===896&&a.screen.height===414;return(a.navigator&&a.navigator.userAgent&&a.navigator.userAgent.match(/iPhone OS 1[1-9]|[2-9]\d/))!=null&&b},Y1=function(a,b){a=a.getComputedStyle(b);return b.offsetWidth>0&&b.offsetHeight>0&&a.display!=="none"&&a.visibility!=="hidden"&&a.opacity!=="0"},Zja=function(a,b){var c=c===void 0?Yja:c;return Y1(a,b)&&c.some(function(d){var e;return(e=b.src)==null?void 0:_.u(e,"includes").call(e,d)})},$ja=function(a){return _.u(Array,"from").call(Array,a.document.querySelectorAll("video")).some(function(b){return Y1(a,b)&&!(!b.currentSrc&&!b.src)})||_.u(Array,"from").call(Array,a.document.querySelectorAll("iframe")).some(function(b){return Zja(a,b)})},$1=function(a,b,c,d){if(!(a.nodeName in aka))if(a.nodeType===3)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Z1)d&&a.nodeName==="IMG"&&a.hasAttribute("alt")&&b.push(" "+a.getAttribute("alt")),b.push(Z1[a.nodeName]);else for(a=a.firstChild;a;)$1(a,b,c,d),a=a.nextSibling},bka=function(a){var b=new _.z.Set;a.forEach(function(c){switch(c){case 1:b.add(1);break;case 2:b.add(2);break;case 3:b.add(3);break;case 5:b.add(5);break;case 6:b.add(6);break;case 7:b.add(7)}});return b},cka=function(a){switch(a){case 1:return 1;case 2:return 2;case 3:return 3;case 5:return 5;case 6:return 6;case 7:return 7;default:return 0}},dka=function(a,b,c,d){return S1(a,"fullscreen",d.Ka(952,function(e,f){if(f.source===b){if(!("eventType"in e))throw Error("bad message "+JSON.stringify(e));delete e.googMsgType;c(e)}}))},eka=function(a,b,c,d,e){a=new a2(1,a,b,c,d,e);a.init();return a},b2=function(a){return _.hc(function(b){if(b instanceof a)return!0;var c,d,e=b==null?void 0:(c=b.ownerDocument)==null?void 0:(d=c.defaultView)==null?void 0:d[a.name];return(0,_.LD)(e)&&b instanceof e})},c2=function(a){return _.hc(function(b){return fka(b)&&b.tagName.toLowerCase()===a})},gka=function(a){var b;a=((b=a===void 0?null:a)!=null?b:window).googletag;return(a==null?0:a.apiReady)?a:void 0},jka=function(a){var b=hka(_.bo(_.KF(a)))||[];return!!_.sm(a,function(c){if(!_.Za(c)||c.nodeType!=1)return!1;var d=c.matches||c.webkitMatchesSelector||c.mozMatchesSelector||c.msMatchesSelector||c.oMatchesSelector;return!d||_.Va(b,c)>=0||_.gi(_.u(Object,"values").call(Object,ika),function(e){return d.call(c,e)})},!1,20)},hka=function(a){var b=gka(a);return b?_.dm(_.pD(b.pubads().getSlots(),function(c){return a.document.getElementById(c.getSlotElementId())}),function(c){return c!=null}):null},d2=function(a){var b;(b=a.j)==null||b.setAttribute("data-vignette-loaded","true")},e2=function(a,b){var c=a.ownerDocument,d=c.createElementNS("http://www.w3.org/2000/svg","line");d.setAttribute("x1",b?"32":"22");d.setAttribute("y1","18");d.setAttribute("x2",b?"38":"28");d.setAttribute("y2","12");a.appendChild(d);c=c.createElementNS("http://www.w3.org/2000/svg","line");c.setAttribute("x1",b?"38":"28");c.setAttribute("y1","12");c.setAttribute("x2",b?"44":"34");c.setAttribute("y2","18");a.appendChild(c)},f2=function(a,b){var c=a.ownerDocument,d=c.createElementNS("http://www.w3.org/2000/svg","line");d.setAttribute("x1",b?"32":"22");d.setAttribute("y1","12");d.setAttribute("x2",b?"38":"28");d.setAttribute("y2","18");a.appendChild(d);c=c.createElementNS("http://www.w3.org/2000/svg","line");c.setAttribute("x1",b?"38":"28");c.setAttribute("y1","18");c.setAttribute("x2",b?"44":"34");c.setAttribute("y2","12");a.appendChild(c)},g2=function(a,b,c){b!==null&&R1(a.getAttribute("width"))!==null&&a.setAttribute("width",String(b));c!==null&&R1(a.getAttribute("height"))!==null&&a.setAttribute("height",String(c));b!==null&&(a.style.width=_.xY(b));c!==null&&(a.style.height=_.xY(c))},kka=function(a){a=_.ul(a);a=100*(a<1?1:a);return{width:a+"vw",height:a+"vh"}},lka=function(a,b,c,d){if(!(b<=0))return function(e){if(e>=b)return a.O({K:99}),!1;if((0,_.uu)()!==0)return a.O({K:100}),!1;a:{e=d;e=e===void 0?window:e;if(_.li(c))try{var f={value:e.sessionStorage.getItem("lvtd")};break a}catch(g){f={error:1};break a}f={error:0}}e=f.value;if(f.error!==void 0)return a.O({K:101}),!1;e?(f=Number(e),f=isNaN(f)?!1:Date.now()-f>=_.L(_.$T)*60*1E3):f=!0;if(!f)return a.O({K:102}),!1;f=Date.now().toString();e=d;e=e===void 0?window:e;if(_.li(c))try{e.sessionStorage.setItem("lvtd",f)}catch(g){}return!0}},h2=function(a){this.A=_.B(a)};_.X(h2,_.C);h2.prototype.C=_.D(_.yQ);var i2=function(a){this.A=_.B(a)};_.X(i2,_.C);i2.prototype.C=_.D(_.zQ);_.fY.prototype.Ef=_.da(5,function(a){var b=this.g().Cq;if(_.zi(this.Z,b)){var c=this.Ya,d=c.lb,e=c.Ob,f=c.rb,g=c.Fe,h=c.ta,k=a.kh,l=a.Us;a=this.H;c=a.sh;b=_.rQ(_.uQ(_.tQ(b),this.l++));e=_.ry(b,11,e);d=_.vQ(_.sQ(_.qQ(_.qy(e,8,d),_.Ji(_.Ki([f]))),g),h());f=new i2;k=_.ry(f,2,k);f=new h2;l=_.Sj(f,1,l);l=_.Ji(l);l=_.Ek(k,1,l);l=_.Ji(l);l=_.Mi(d,6,_.wQ,l);c.call(a,_.Ji(l))}});_.cC.prototype.Ef=_.da(4,function(a){this.g.Ef(a)});var j2=function(a,b,c,d){d=d===void 0?!1:d;if(!a.Ua){a.Ua=[];for(var e=a.o.parentElement;e;){a.Ua.push(e);if(a.j===e)break;e=e.parentNode&&e.parentNode.nodeType===1?e.parentNode:null}}e=a.Ua.slice();!c&&a.j===e[e.length-1]&&e.pop();var f;if(d)for(c=e.length-1;c>=0;--c)(f=e[c])&&b.call(a,f,c,e);else for(c=0;ca?b>e?b:e:b=this.R&&d<=this.F.innerHeight)break;this.L=setTimeout(function(){r2(b,a+b.ka)},this.ka);this.j=1;break;case 1:this.ga>-this.sa||(clearTimeout(this.L),r2(this,a))}};var Yja="youtube.com youtube-nocookie.com vimeo.com dailymotion.com twitch.tv kick.com rumble.com".split(" "),t2=["mousemove","mousedown","scroll","keydown"],u2=function(a,b){_.Z.call(this);var c=this;this.F=a;this.Si=b;this.g=[];this.j=_.ax(function(){zka(c)})};_.X(u2,_.Z);u2.prototype.listen=function(a){this.j();this.g.push(a)};var zka=function(a){for(var b=null,c=null,d=function(l){if(b&&l.timeStamp-b>a.Si){if($ja(a.F)){a.dispose();return}for(var m={ag:l.timeStamp,vq:l.timeStamp-b,mt:c},n=_.w(a.g),p=n.next();!p.done;p=n.next()){p=p.value;try{p(m)}catch(q){}}}b=l.timeStamp},e=_.w(t2),f=e.next();!f.done;f=e.next())a.F.addEventListener(f.value,d);var g=null,h,k;((h=a.F.navigator)==null?0:h.userActivation)&&((k=a.F.performance)==null?0:k.now)&&(g=a.F.setInterval(function(){a.F.navigator.userActivation.isActive&&(c=a.F.performance.now())},1E3));_.Eu(a,function(){for(var l=_.w(t2),m=l.next();!m.done;m=l.next())a.F.removeEventListener(m.value,d);g&&a.F.clearInterval(g)})},v2=function(a,b){return new u2(a,b===void 0?3E4:b)},w2=function(a){q2.call(this,a,[0,1,2]);this.j=0;this.init()};_.X(w2,q2);w2.prototype.g=function(a){var b=this;switch(this.j){case 0:this.B&&!this.I&&(this.j=1);break;case 1:if(!this.B&&this.o&&this.I){this.j=2;var c=setTimeout(function(){b.g(a)},200);_.Eu(this,function(){return void clearTimeout(c)})}break;case 2:!this.B&&this.o&&this.I?r2(this,a):this.j=1}};var x2=function(a){_.Z.call(this);var b=this;this.F=a;this.g=[];this.j=_.ax(function(){Aka(b)})};_.X(x2,_.Z);x2.prototype.listen=function(a){this.j();this.g.push(a)};var Aka=function(a){var b=!1,c=function(e){e.isTrusted&&(b=!0)},d=function(e){var f=e.timeStamp;if(e=e.isTrusted&&!b)e=(e=a.F.document.referrer)&&typeof URL==="function"?(new URL(e)).origin===a.F.location.origin:!1;if(e){f={ag:f};e=_.w(a.g);for(var g=e.next();!g.done;g=e.next()){g=g.value;try{g(f)}catch(h){}}}};a.F.addEventListener("focus",d);a.F.addEventListener("blur",c);_.Eu(a,function(){a.F.removeEventListener("focus",d);a.F.removeEventListener("blur",c)})},y2=function(a,b){q2.call(this,a,[]);this.j=b;this.init()};_.X(y2,q2);y2.prototype.g=function(a){this.j(a)&&r2(this,a)};var z2=function(a,b,c,d){b=b===void 0?250:b;c=c===void 0?1:c;d=d===void 0?2:d;q2.call(this,a,[4]);this.Pj=b;this.Nm=c;this.Om=d;this.L=null;this.j=[];(0,_.uu)()===0?this.R=c*this.F.innerHeight:this.R=d*this.F.innerHeight;this.j.push({scrollY:this.F.scrollY,time:_.om(this.F)});this.init()};_.X(z2,q2);z2.prototype.g=function(a,b){var c=this;if(b!=null&&b.event&&(this.j.push({scrollY:this.F.scrollY,time:a}),!(this.j.length<2))){b=this.j.length-2;var d=this.j[b],e=this.j[this.j.length-1];for(this.L&&clearTimeout(this.L);e.time-d.time<=1E3;){if(Math.abs(e.scrollY-d.scrollY)>this.R){this.L=setTimeout(function(){r2(c,a)},this.Pj);break}if(--b<0)break;d=this.j[b]}}};var A2=function(a){q2.call(this,a,[1]);this.init()};_.X(A2,q2);A2.prototype.g=function(a){this.j!=null||(this.j=0);switch(this.j){case 0:this.o&&(this.j=1);break;case 1:this.o||(this.j=2,this.R=a);break;case 2:this.o&&(this.L=a-this.R,r2(this,a))}};var B2=function(a,b,c,d){_.Z.call(this);var e=this;c.promise.then(function(){return void e.dispose()});b=_.w(b);for(var f=b.next(),g={};!f.done;g={Ub:void 0},f=b.next())switch(g.Ub=f.value,g.Ub){case 2:f=new A2(a);_.OA(this,f);f.G.then(function(h){return function(){return void c.resolve(h.Ub)}}(g));break;case 3:if((0,_.uu)()!==0)break;f=new w2(a);_.OA(this,f);f.G.then(function(h){return function(){return void c.resolve(h.Ub)}}(g));break;case 4:f=new x2(a);_.OA(this,f);f.listen(function(h){return function(){return void c.resolve(h.Ub)}}(g));break;case 5:f=v2(a,d.Si);_.OA(this,f);f.listen(function(h){return function(){return void c.resolve(h.Ub)}}(g));break;case 6:f=new s2(a,d.Cp,d.Bp);_.OA(this,f);f.G.then(function(h){return function(){return void c.resolve(h.Ub)}}(g));break;case 7:f=new z2(a,d.Pj,d.Nm,d.Om);_.OA(this,f);f.G.then(function(h){return function(){return void c.resolve(h.Ub)}}(g));break;case 8:f=new y2(a,d.Jr),_.OA(this,f),f.G.then(function(h){return function(){return void c.resolve(h.Ub)}}(g))}};_.X(B2,_.Z);var aka={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1,NOSCRIPT:1},Z1={IMG:" ",BR:"\n"},Bka=/ \xAD /g,Cka=/\xAD/g,Dka=/\u200B/g,Eka=/ +/g,Fka=/^\s*/;var a2=function(a,b,c,d,e,f){_.Z.call(this);this.slotType=a;this.G=b;this.hl=c;this.qa=d;this.H=e;this.zh=f;this.state=1;this.qem=null;this.o=new _.lk;this.g=new _.lk;this.j=new _.lk};_.X(a2,_.Z);var Gka=function(a){return _.Sg(function(b){return b.return(a.o.promise)})},Hka=function(a){return _.Sg(function(b){return b.return(a.g.promise)})},Ika=function(a){return _.Sg(function(b){return b.return(a.j.promise)})};a2.prototype.init=function(){var a=this,b=dka(this.G,this.hl,function(c){if(c.eventType==="adError")a.j.resolve(),a.state=4;else if(c.eventType==="adReady"&&a.state===1)a.qem=c.qem,c.slotType!==a.slotType&&(C2(a,{cur_st:a.state,evt:c.eventType,adp_tp:c.slotType}),a.state=4),a.o.resolve(),a.state=2;else if(c.eventType==="adClosed"&&a.state===2)a.g.resolve(c.result),a.state=3;else if(c.eventType!=="adClosed"||a.state!==3)c.eventType==="adClosed"&&c.closeAfterError&&(a.g.resolve(c.result),a.state=3),C2(a,{cur_st:a.state,evt:c.eventType}),a.state=4},this.qa);_.Eu(this,b)};var C2=function(a,b){var c=.25;c=c===void 0?.01:c;b.type="err_st";b.slot=a.slotType;b.freq=c;a.qem&&(b.qem=a.qem);b.tag_type=a.zh.Is;b.version=a.zh.version;_.bm(a.H,"fullscreen_tag",b,!1,c)};b2(Node);b2(Element);var fka=b2(HTMLElement);b2(SVGElement);var ika={wt:"ins.adsbygoogle-ablated-ad-slot",yt:"body ins.adsbygoogle",xt:"iframe[id^=aswift_],iframe[id^=google_ads_frame]",Kt:".google-auto-placed",Lt:"ins.adsbygoogle[data-anchor-status]",Nt:"iframe[id^=google_ads_iframe]",St:"div[id^=div-gpt-ad]",iu:"ins.adsbygoogle[data-ad-format=autorelaxed]",ju:"div.trc_related_container,div.OUTBRAIN,div[id^=rcjsload],div[id^=ligatusframe],div[id^=crt-],iframe[id^=cto_iframe],div[id^=yandex_], div[id^=Ya_sync],iframe[src*=adnxs],div.advertisement--appnexus,div[id^=apn-ad],div[id^=amzn-native-ad],iframe[src*=amazon-adsystem],iframe[id^=ox_],iframe[src*=openx],img[src*=openx],div[class*=adtech],div[id^=adtech],iframe[src*=adtech],div[data-content-ad-placement=true],div.wpcnt div[id^=atatags-]",Rt:"div.googlepublisherpluginad",tu:"html > ins.adsbygoogle",Mt:"div.autors-widget"};var F2=function(a,b){var c=this;this.ed=a;this.l=!1;this.g=b.Ka(264,function(d){c.l&&(D2||(d=Date.now()),c.ed(d),D2?E2.call(_.ka,c.g):_.ka.setTimeout(c.g,17))})};F2.prototype.start=function(){this.l||(this.l=!0,D2?E2.call(_.ka,this.g):this.g(0))};F2.prototype.stop=function(){this.l=!1};var E2=_.ka.requestAnimationFrame||_.ka.webkitRequestAnimationFrame,D2=!!E2&&!/'iPhone'/.test(_.ka.navigator.userAgent);var G2=function(a,b,c,d){var e=this;this.start=a;this.end=b;this.time=c;this.progress=0;this.startTime=null;this.l=!1;this.g=[];this.j=null;this.o=new F2(function(f){if(e.l)e.o.stop();else{e.startTime===null&&(e.startTime=f);e.progress=(f-e.startTime)/e.time;e.progress>=1&&(e.progress=1);f=e.j?e.j(e.progress):e.progress;e.g=[];for(var g=0;g=0||b.push(g)}e=b}else e=[]}else e=[]}else e=[];(b=a.G.uq)||(b=_.rl(a.o),b=Math.abs(b-1)<.05);f=a.requestedSize.width=864E5)return a.D.O({K:11}),!1;a:switch(a.Ua.tag){case 0:c=!0;break a;case 1:c=!1;break a;default:c=!1}if(!c)return a.D.O({K:12}),!1;if(a.B.Tl)return a.D.O({K:13}),!1;if(U2(a))return a.D.O({K:14}),!1;if(!a.B.jm)return a.D.O({K:15}),!1;if(!a.Na&&d)return a.D.O({K:16}),!1;a.Na&&a.D.O({K:17});d&&a.D.O({K:18});if(e.length)return a.D.O({K:19}),!1;if(!b)return a.D.O({K:20}),!1;if(!f)return a.D.O({K:21}),!1;a.D.O({K:22});return!0},Z2=function(a,b){var c;if(!(c=!a.G.xp)){a:{try{var d,e;if((e=(d=HTMLScriptElement).supports)==null||!e.call(d,"speculationrules")||(new URL(b)).origin!==a.o.origin){var f=!1;break a}var g=a.o.document.createElement("script");g.type="speculationrules";var h=_.Pa(JSON.stringify({prerender:[{urls:[b]}]}).replace(/=this.g)delete this.history[a];else break;this.index=a;a>=this.history.length&&this.reset()};c3.prototype.reset=function(){this.history=[];this.index=0};var e3=function(a,b,c,d){c=c===void 0?b:c;d=d===void 0?100:d;_.Z.call(this);var e=this;this.document=a;this.target=b;this.handle=c;this.ob=d;this.I=this.B=this.ra=!1;this.G=this.g=this.j=this.o=this.na=this.P=this.ga=this.R=null;this.Bb=new b3(this.handle,"mousedown",function(f){f.button===0&&d3(e,f)});_.OA(this,this.Bb);this.Cb=new b3(this.handle,"touchstart",function(f){d3(e,f)});_.OA(this,this.Cb);this.Ab=new b3(this.handle,"click",function(f){e.ra?(e.onClick(),e.ra=!1):f.stopPropagation()});_.OA(this,this.Ab)};_.X(e3,_.Z);var f3=function(a){a=a.touches&&a.touches[0]||a;return new _.Zj(a.clientX,a.clientY)};e3.prototype.sa=function(){if(this.o&&this.j&&this.g){var a=this.o,b=k2(this.g,this.j);var c=new _.Zj(a.x+b.x,a.y+b.y);a=this.target;c instanceof _.Zj?(b=c.x,c=c.y):(b=c,c=void 0);a.style.left=_.aG(b,!1);a.style.top=_.aG(c,!1)}};e3.prototype.Ua=function(){};e3.prototype.onClick=function(){};e3.prototype.ka=function(){var a=this.target,b=a.parentElement||null;var c=l2(a);b=l2(b);c=new _.Zj(c.x-b.x,c.y-b.y);a=n2(a,"margin");return k2(c,new _.Zj(a.left,a.top))};var d3=function(a,b){a.B&&a.stop();a.B=!0;a.o=a.ka();a.j=f3(b);a.g=a.j;a.G=new c3(a.ob);a.G.add(a.j);a.R=new b3(a.document,"mousemove",function(c){g3(a,c)});_.OA(a,a.R);a.ga=new b3(a.document,"touchmove",function(c){g3(a,c)});_.OA(a,a.ga);a.P=new b3(a.document,"mouseup",function(c){h3(a,c)});_.OA(a,a.P);a.na=new b3(a.document,"touchend",function(c){h3(a,c)});_.OA(a,a.na)},g3=function(a,b){if(a.B)if(b.preventDefault(),a.g=f3(b),a.G.add(a.g),a.I)a.sa();else{var c=a.j,d=a.g;b=c.x-d.x;c=c.y-d.y;Math.sqrt(b*b+c*c)>=10&&(a.sa(),a.I=!0)}},h3=function(a,b){a.I?(b.preventDefault(),a.g=f3(b),a.Ua()):a.ra=!0;a.stop()};e3.prototype.stop=function(){this.I=this.B=!1;this.G=this.g=this.j=this.o=null;this.R&&this.R.remove();this.ga&&this.ga.remove();this.P&&this.P.remove();this.na&&this.na.remove()};var i3={Ih:!1,Rj:!1,tm:!1};var l3=function(a,b,c,d,e,f,g,h,k,l,m,n,p){f=f===void 0?function(){}:f;g=g===void 0?function(){}:g;p=p===void 0?i3:p;_.Z.call(this);var q=this;this.config=a;this.ya=b;this.B=c;this.P=d;this.g=e;this.Bb=f;this.Oa=g;this.qa=h;this.H=k;this.Ab=l;this.ra=m;this.o=n;this.Ua=p;this.L=null;this.I=!1;this.na=0;this.sa=!1;this.j=this.ga=null;this.G=n?2:1;_.Eu(this,function(){j3(q,!0)});this.R=_.yh("INS",b.document);typeof HTMLElement.prototype.attachShadow!=="function"||this.qa.Ac(1013,function(){q.L=_.yh("DIV",b.document);q.L.className="grippy-host";q.L.attachShadow({mode:"closed"}).appendChild(q.R);_.Eu(q,function(){q.L=null});return!0})||(this.L=null);this.Aa=b.innerHeight;this.Na=this.config.scroll_detached==="true";this.ka=this.config.dismissable==="true";this.Wb=(this.Pd=!this.Ua.tm||!!this.o)&&(this.config.draggable==="true"||this.g!=="top");this.uc=this.config.expId||"";this.Cb=this.config.qemId||"";a=parseInt(this.config.z_index_override,10);this.ob=isNaN(a)?null:a;this.ub=new _.XX(b);!this.ka&&_.ka.navigator.userAgent.match(/iPhone OS 7/)&&b.setInterval(function(){var r=q.ya.innerHeight;if(Math.abs(r-460)<2||Math.abs(r-529)<2)rthis.P.height,c=parseInt(this.j.style[this.g],10);if(c||b){var d=function(){a.G=3;if(b){var g=a.P.height;a.j.style[a.g]="0";a.j.style.height=g+"px";a.B.parentElement.style.height=g+"px";a.B.height=""+g;a.B.style.height=g+"px";a.B.style.maxHeight="30vh";o3(a,g);var h;(h=a.ga)!=null&&(h.L=g)}a.I=!1;v3(a);a.j.setAttribute("data-anchor-status","displayed");a.j.setAttribute("data-anchor-shown","true");q3(a,!1)};this.I=!0;if(c&&!b){var e=-c/w3(this);u3(this,e);q3(this,!1);c=new J2(this.j,c,0,e,this.g,this.qa,d,I2);this.ra();H2(c)}else if(b){var f=this.o.maxHeight+5;e=this.P.height-f;f=(f+c>this.P.height?-1:1)*(e-c)/w3(this);u3(this,f);c===e?d():(c=new J2(this.j,c,e,f,this.g,this.qa,d,I2),this.ra(),H2(c))}}}};var s3=function(a){if(!a.I){Zka(a);var b=parseInt(a.j.style[a.g],10),c=function(){a.I=!1;a.G=4;v3(a);a.j.setAttribute("data-anchor-status","displayed");a.j.setAttribute("data-anchor-shown","true");q3(a,!1)};if(b){a.I=!0;var d=-b/w3(a);u3(a,d);q3(a,!1);b=new J2(a.j,b,0,d,a.g,a.qa,c,I2);a.ra();H2(b)}else c()}},j3=function(a,b){if(!a.I&&a.j){var c=parseInt(a.j.style[a.g],10),d=-(a.G===4?a.o.maxHeight+5:a.P.height)-(b?30:0),e=(c-d)/w3(a);a.g==="bottom"&&X1(a.ya)&&a.qa.Ac(405,function(){t3(a,"21px",e,"ease-in")});b||q3(a,!0);c===d?b||(a.G=0):a.Ab()&&(a.I=!0,H2(new J2(a.j,c,d,e,a.g,a.qa,function(){a.I=!1;b?a.Bb():(a.G=0,q3(a,!0));a.j.setAttribute("data-anchor-status","dismissed")},Jka)))}},w3=function(a){return a.o?a.o.Nk?a.o.Nk:Infinity:.1},$ka=function(a,b){if(a.g!=="bottom"&&a.g!=="top")throw Error("unsupported reactive type");var c=function(f){a.onClick(f)};_.Og(a.R,"click",c);_.Eu(a,function(){_.Pg(a.R,"click",c)});a.L&&(_.Og(a.L,"click",c),_.Eu(a,function(){a.L&&_.Pg(a.L,"click",c)}));_.lm(b,{opacity:1});var d=a.ya.document;if(d){a.j=b;var e=a.o?a.o.maxHeight+5:a.P.height;a.Wb&&(a.ga=new (a.g==="top"?x3:y3)(a,d,e,b,a.R),_.OA(a,a.ga));d={position:"fixed",left:_.xY(0)};m3(a)&&(d.left="50%",d.transform="translateX(-50%)",d["box-shadow"]=n3(a),d["border-radius"]="5px");d[a.g]=_.xY(-e-30);_.lm(b,d);_.Xv(b,{overflow:"visible",background:"#FAFAFA"});_.$X(a.ub,function(f){var g=a.ob===null?2147483647:a.ob;_.lm(b,{zIndex:f===null?g:Math.min(f,g)})});k3(a)}},t3=function(a,b,c,d){_.lm(a.B,{transition:c/1E3+"s","transition-timing-function":d,"margin-top":b})},v3=function(a){a.Oa();a.Oa=function(){}},z3=function(a,b,c,d,e){e3.call(this,b,d,e);this.ub=a;this.L=c};_.X(z3,e3);z3.prototype.Ua=function(){var a=this.ub;if(!a.I){var b=parseInt(a.j.style[a.g],10),c=b+parseInt(a.j.style.height,10),d=a.P.height/2;c>=(a.o?(a.o.maxHeight+5)/2:_.u(Number,"MAX_SAFE_INTEGER"))?(s3(a),r3(a,"d",!1,b)):c>=d?(a.show(),r3(a,"d",!1,b)):(j3(a,a.ka),r3(a,"d",!0,b))}};z3.prototype.sa=function(){if(this.o!==null&&this.j!==null&&this.g!==null){var a=this.Oa(this.o.y,k2(this.g,this.j).y);a>0&&(a=0);a<-this.L&&(a=-this.L);var b={};b[this.Na()]=_.xY(a);_.lm(this.target,b)}};var x3=function(a,b,c,d,e){z3.call(this,a,b,c,d,e)};_.X(x3,z3);x3.prototype.ka=function(){return new _.Zj(0,parseInt(this.target.style.top,10))};x3.prototype.Oa=function(a,b){return b-a};x3.prototype.Na=function(){return"top"};var y3=function(a,b,c,d,e){z3.call(this,a,b,c,d,e)};_.X(y3,z3);y3.prototype.ka=function(){return new _.Zj(0,parseInt(this.target.style.bottom,10))};y3.prototype.Oa=function(a,b){return a-b};y3.prototype.Na=function(){return"bottom"};var E3=function(a,b,c,d,e,f,g,h,k,l){h=h===void 0?null:h;k=k===void 0?i3:k;l=l===void 0?null:l;_.Q1.call(this,a,b,f);var m=this;this.qa=d;this.H=e;this.storage=g;this.B=h;this.Bb=k;this.D=l;this.R=this.Cg=this.yd=0;this.Ab=this.Hn=!1;this.G=null;this.ra=this.filled=!1;this.sa=null;this.ga=0;this.nf=this.na=!1;this.Oa=!0;this.Na=null;this.ub=this.Wb=this.Cb=this.rm=this.Ln=this.Nn=!1;this.Zi=0;this.hm=this.ka=this.Qi=!1;this.ob=n2(b.document.body,"padding");this.P=n2(b.document.body,"padding");this.I=c;this.L=ala(this);this.Pn=_.Wj(b||window).height/2;this.Aa=_.Wj(b||window).height;this.km=mka(b);A3(this);this.Cm=this.qa.Ka(266,function(){B3(m,!0,33);C3(m,!0)});this.Km=this.qa.Ka(267,function(){B3(m,!0,34);C3(m,!0)});this.Lm=this.qa.Ka(268,function(){if(m.na&&m.j&&m.G){var n=m.G;n.na=_.wl(n.ya)}n=_.wl(m.g);var p=n-m.yd;D3(m,p);m.ub&&(p>0&&(m.R+=p),m.Qi=m.km-n<=m.Aa,m.yd=n);C3(m)});this.Xm=this.qa.Ka(269,function(){bla(m)});this.wn=this.qa.Ka(270,function(n){cla(m,n)});this.Bn=this.qa.Ka(271,function(n){if(n&&n.touches){m.sa="touchmove";m.ga=n.touches.length;m.ra=!0;C3(m);if(!m.Hn&&n.touches&&n.touches.length!==0&&n.touches[0]){n=n.touches[0].pageY;var p=n-m.Cg;m.Cg=n;n=p}else n=0;n>0&&(m.R+=n);D3(m,n)}});this.Fn=this.qa.Ka(272,function(n){n&&n.touches&&n.touches[0]&&(m.sa="touchstart",m.ga=n.touches.length,m.ra=!1,C3(m),m.Cg=n.touches[0].pageY,n=(n=n.target)&&m.I==="top"&&m.filled&&m.G&&p3(m.G)&&n.nodeType===1?_.PF(p3(m.G),n):!1,m.Hn=n)});this.Yi=this.qa.Ka(273,function(){m.Cb||(m.Cb=!0,_.Pg(m.o,"load",m.Yi),m.Wb&&!m.nf||C3(m,!0))});_.Og(a,"load",this.Yi);_.Eu(this,function(){_.Pg(a,"load",m.Yi)})};_.X(E3,_.Q1);var dla=function(a){var b=a.g;_.Og(b,"orientationchange",a.Cm);_.Og(b,"resize",a.Km);_.Og(b,"scroll",a.Lm);_.Og(b,"touchcancel",a.Xm);_.Og(b,"touchend",a.wn);_.Og(b,"touchmove",a.Bn);_.Og(b,"touchstart",a.Fn);_.Eu(a,function(){F3(a)})},F3=function(a){var b=a.g;_.Pg(b,"orientationchange",a.Cm);_.Pg(b,"resize",a.Km);_.Pg(b,"scroll",a.Lm);_.Pg(b,"touchcancel",a.Xm);_.Pg(b,"touchend",a.wn);_.Pg(b,"touchmove",a.Bn);_.Pg(b,"touchstart",a.Fn)};E3.prototype.Qn=function(a){var b=this.j;if(b&&!this.G){for(var c in G3)!G3.hasOwnProperty(c)||c in a||(a[c]=G3[c]);this.Nn=a.use_manual_view==="true"||this.I==="top"||!!_.Bm(this.g).wasReactiveAdConfigReceived[2];this.Ln=a.use_important==="true";if(c=a.af_l)this.Wb=c==="true";this.hm=(this.ub=a.wait_for_scroll==="true"||this.I==="top")&&(a.tsec==="true"||this.I==="top");this.Zi=parseInt(a.lims,10);H3(this,a);this.G=ela(this,a);this.Na=I3(this);this.Qi=this.Aa>=this.km;a=this.j;c=this.G&&p3(this.G);a&&c&&(this.I==="top"?a.appendChild(c):a.insertBefore(c,a.firstChild));dla(this);this.filled=!0;b.setAttribute("data-anchor-status","ready-to-display")}};var I3=function(a){var b=a.L.height+5;a.I==="bottom"&&X1(a.g)&&(b+=20);return new _.Vj(a.L.width,b)},H3=function(a,b){var c=parseInt(b.ht,10),d=c>0?c:null;b=parseInt(b.wd,10);var e=b>0?b:null;d!==null&&(a.L.height=d);e!==null&&(a.L.width=e);j2(a,function(f){g2(f,e,d)},!1,!0);g2(a.o,e,d)},ela=function(a,b){b=new l3(b,a.g,a.o,a.L,a.I,function(){if(!a.Ab){a.Ab=!0;F3(a);var c=a.j;_.Tx(c);J3(a,a.ob,!0,!0);c&&(c.style.display="none")}},function(){return void fla(a)},a.qa,a.H,function(){return a.collapse()},function(){a.ka&&(a.ka=!1,D3(a,null));a.zm&&_.Sx(a.T,a.slotId);a.uc&&(clearTimeout(a.uc),a.uc=null);return!0},a.B,a.Bb);_.OA(a,b);return b},A3=function(a){if(a.Oa){var b=a.j;b&&(b.style.display="none");J3(a,a.ob,!0,!0);a.Oa=!1}};E3.prototype.Jc=function(a){a=a===void 0?!1:a;this.nf||B3(this,a,9);this.nf=!0;if(this.na||!K3(this,a)||!this.Cb&&this.Wb)!this.Cb&&this.Wb&&B3(this,a,12);else{var b=this.j;b?(L3(this),j2(this,function(c){W1(c)},!0),$ka(this.G,b),this.show(),B3(this,!0,14),this.na=!0,(a=this.o.contentWindow)&&U1(a,"ig",{rr:"vis-aa"},"*",2),gla(this),M3(this,this.Bb.Ih),hla(this),ila(this)):B3(this,a,13)}};E3.prototype.show=function(){var a=this.j;if(a){var b=this.G,c=b.ya,d=_.wl(c);if(!(Math.abs(d-b.na)<10)){var e=d<10;c=d+10+_.ol(c)>_.vl(c);e=e||c;b.Na||b.sa||b.I||(b.G===0||e?b.G===0&&e&&k3(b):k3(b,!1));b.na=d}this.Oa||(N3(this),b=n2(this.g.document.body,"padding"),this.I==="bottom"&&(b.bottom+=this.Na.height+25),J3(this,b),a.style.display="block",this.Oa=!0)}};var L3=function(a){var b=a.j;if(b&&a.o.parentElement){m2(b,a.Na);var c=a.g.innerWidth;b.style.width=_.tl(a.g).scrollWidth>c?""+c:!a.Bb.Rj||_.CJ()||_.BJ()?"100%":"auto";O3(a);a.B&&_.Xv(a.o.parentElement,{height:a.B.maxHeight+"px",display:"inline-block"})}},O3=function(a){j2(a,function(c){m2(c,a.L);c.style.width="100%"},!1,!0);a.o.style.display="block";a.o.style.margin="0 auto";if(a.Ln){var b=a.j;nka(b,function(c){V1(c,function(d){return c===b&&/display|bottom/i.test(d)?!1:!0});if(c.nodeName==="svg")return!1})}},N3=function(a){if(a.I!=="bottom"&&a.I!=="top")throw Error("Unexpected position: "+a.I);},ala=function(a){N3(a);var b=a.g.innerWidth;a=_.Np(_.bG,a.o).height||+a.o.height||0;return new _.Vj(b,a)},bla=function(a){a.sa="touchcancel";_.ka.setTimeout(a.qa.Ka(274,function(){a.sa==="touchcancel"&&(a.ga=0,a.ra=!1,C3(a))}),1E3)},cla=function(a,b){if(b&&b.touches){a.sa="touchend";var c=b.touches.length;c<2?_.ka.setTimeout(a.qa.Ka(256,function(){a.sa==="touchend"&&(a.ga=c,a.ra=!1,C3(a))}),1E3):(a.ga=c,C3(a))}},D3=function(a,b){var c=a.Oa?P3(a,a.ka):a.ob.top;if(a.I==="top"&&a.g.document.body&&a.filled&&a.G&&a.na&&a.P.top!==c&&b!==0){var d=a.P.clone();b===null?(d.top=c,J3(a,d)):(b>0&&a.P.top>c&&(d.top=Math.max(c,a.P.top-b),J3(a,d,!1)),b<0&&a.P.top=2&&a.ra&&B3(a,b,18):B3(a,b,16);!a.filled||a.Ab||a.ga>=2&&a.ra||!K3(a,b)?A3(a):(B3(a,b,19),a.Jc(b),a.show())};E3.prototype.Dd=function(){return _.ql(this.g)};var K3=function(a,b){b=b===void 0?!1:b;B3(a,b,20);if(!a.Dd())return B3(a,b,21),!1;if(!a.na&&a.ub){a.Zi&&setTimeout(function(){if(!a.na){a.ub=!1;B3(a,b,24);a.Jc(!0);var d=a.P.clone();d.top=P3(a,a.ka);J3(a,d,!0)}},a.Zi);a.hm&&(a.R+=Math.max(_.wl(a.g)-a.yd,0));var c=!1;switch(a.I){case "bottom":return(c=a.R>=a.Pn||a.Qi)||B3(a,b,27),c;case "top":return(c=a.R>P3(a))||B3(a,b,29),c;default:return!0}}B3(a,b,31);return!0},P3=function(a,b){return(b===void 0?0:b)?a.ob.top+30:a.ob.top+30+a.Na.height-5},fla=function(a){a.Nn&&!a.rm&&(a.rm=!0,a.qa.Ac(257,function(){var b={msg_type:"manual-send-view"},c=a.o.contentWindow;c&&c.postMessage(JSON.stringify(b),"*")}))};E3.prototype.collapse=function(){this.ka||(this.ka=!0,D3(this,null));return jla(this)};var gla=function(a){if(a.B||!(a.L.height